package com.yumeng.framework.persistence.mybatis.plugins.dynamictable;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wxd
 * @date 2022/9/1 15:54
 */
@Getter
@AllArgsConstructor
public enum TableNameDateSuffixType {

    YEAR("yyyy", "按年"),
    MONTH("yyyyMM", "按月"),
    DAY("yyyyMMdd", "按日");

    private final String format;
    private final String desc;

}
